package com.education.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.education.common.annotation.Excel;
import com.education.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 edu_course_subject_task
 * 
 * @author education
 * @date 2024-08-07
 */
public class EduCourseSubjectTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String title;

    /** 任务副标题 */
    @Excel(name = "任务副标题")
    private String subTitle;

    @Excel(name = "专业名称")
    private String deptName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    @Excel(name = "课程名称")
    private String subjectName;

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    @Excel(name = "章节名称")
    private String chapterName;

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    /** 任务天数 */
    @Excel(name = "任务天数")
    private Integer day;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 任务类型1选项题  2图片题 */
    @Excel(name = "任务类型1选项题  2图片题")
    private Long type;

    /** （0正常 1停用） */
    @Excel(name = "", readConverterExp = "0=正常,1=停用")
    private String status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long subjectId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long subjectDeptId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long subjectChapterDeptId;

    /** 合格分数 */
    @Excel(name = "合格分数")
    private Long score;

    /** 参考内容 */
    @Excel(name = "参考内容")
    private String answer;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSubTitle(String subTitle) 
    {
        this.subTitle = subTitle;
    }

    public String getSubTitle() 
    {
        return subTitle;
    }
    public void setDay(Integer day) 
    {
        this.day = day;
    }

    public Integer getDay() 
    {
        return day;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setSubjectDeptId(Long subjectDeptId) 
    {
        this.subjectDeptId = subjectDeptId;
    }

    public Long getSubjectDeptId() 
    {
        return subjectDeptId;
    }
    public void setSubjectChapterDeptId(Long subjectChapterDeptId) 
    {
        this.subjectChapterDeptId = subjectChapterDeptId;
    }

    public Long getSubjectChapterDeptId() 
    {
        return subjectChapterDeptId;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("subTitle", getSubTitle())
            .append("day", getDay())
            .append("content", getContent())
            .append("type", getType())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .append("subjectId", getSubjectId())
            .append("subjectDeptId", getSubjectDeptId())
            .append("subjectChapterDeptId", getSubjectChapterDeptId())
            .append("score", getScore())
            .append("answer", getAnswer())
            .toString();
    }
}
